package com.shujia.day07;

class DemoSuper{
    int b;

    public DemoSuper() {
    }

    public DemoSuper(int b) {
        this.b = b;
    }
}

class Demo extends DemoSuper{

    int a = 0;
    int b = 1;


    public Demo(int x) {
//        super();
//        this(1);
        a =x;
    }

    public Demo(int x ,int y) {
        this(x);
        b = y;
    }
}

public class Test {
}
